diff options
| author | Factiven <[email protected]> | 2023-04-24 14:25:17 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-24 14:25:17 +0700 |
| commit | 1d50d8424ec13c429352272528ea3715e856ab56 (patch) | |
| tree | adb38df4414818047de7eeed06ae83cab14ab23a /pages/anime/[...id].js | |
| parent | Temporary Fix (Manga) (diff) | |
| download | moopa-1d50d8424ec13c429352272528ea3715e856ab56.tar.xz moopa-1d50d8424ec13c429352272528ea3715e856ab56.zip | |
Update [...id].js
Diffstat (limited to 'pages/anime/[...id].js')
| -rw-r--r-- | pages/anime/[...id].js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/anime/[...id].js b/pages/anime/[...id].js index f58673d..eb562cc 100644 --- a/pages/anime/[...id].js +++ b/pages/anime/[...id].js @@ -579,7 +579,7 @@ export async function getServerSideProps(context) { } } - const color = { backgroundColor: `${info.color}` }; + const color = { backgroundColor: `${info.color || 'white'}` }; const epi1 = episodes.filter((epi) => epi.number === 1); const title = info.title?.userPreferred || "No Title"; |